package com.aidex.biz.domain;

import com.aidex.common.annotation.Excel;
import com.aidex.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 台账模版对象 biz_taizhang_model
 *
 * @author sean
 * @email 2074844820@qq.com
 * @date 2025-05-13
 */
@Data
public class TaizhangModel extends BaseEntity<TaizhangModel> {
    private static final long serialVersionUID = 1L;


    /**
     * 公司ID
     */
    @Excel(name = "公司ID")
    private String companyId;

    /**
     * 模版名称
     */
    @Excel(name = "模版名称")
    private String docName;

    /**
     * 地址
     */
    @Excel(name = "地址")
    private String docUrl;

    /**
     * 类型
     */
    private String docType;

    /**
     * $column.columnComment
     */
    private String typeId;

    /**
     * $column.columnComment
     */
    private String typeName;

    /**
     * 下载次数
     */
    private Long downcounts;

    /**
     * 排序
     */
    private Long sort;

    /**
     * 状态（0正常 1 停用）
     */
    private String status;


    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setDocName(String docName) {
        this.docName = docName;
    }

    public String getDocName() {
        return docName;
    }

    public void setDocUrl(String docUrl) {
        this.docUrl = docUrl;
    }

    public String getDocUrl() {
        return docUrl;
    }

    public void setDocType(String docType) {
        this.docType = docType;
    }

    public String getDocType() {
        return docType;
    }

    public void setTypeId(String typeId) {
        this.typeId = typeId;
    }

    public String getTypeId() {
        return typeId;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setDowncounts(Long downcounts) {
        this.downcounts = downcounts;
    }

    public Long getDowncounts() {
        return downcounts;
    }

    public void setSort(Long sort) {
        this.sort = sort;
    }

    public Long getSort() {
        return sort;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("userId", getUserId()).append("deptId"
                , getDeptId()).append("userName", getUserName()).append("deptName", getDeptName()).append("companyId"
                , getCompanyId()).append("docName", getDocName()).append("docUrl", getDocUrl()).append("docType",
                getDocType()).append("typeId", getTypeId()).append("typeName", getTypeName()).append("downcounts",
                getDowncounts()).append("sort", getSort()).append("status", getStatus()).append("remark",
                getRemark()).append("id", getId()).append("createBy", getCreateBy()).append("createDept",
                getCreateDept()).append("createTime", getCreateTime()).append("updateBy", getUpdateBy()).append(
                        "updateTime", getUpdateTime()).append("updateIp", getUpdateIp()).append("version",
                getVersion()).append("delFlag", getDelFlag()).toString();
    }
}
